//
//  SearchDistinationCell.m
//  HeartTravel
//
//  Created by dlios on 15-6-30.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SearchDistinationCell.h"

@implementation SearchDistinationCell

- (void)dealloc{
    [_nameLabel release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self create];
    }
    return  self;
}

- (void)create{
    self.nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 100, 30)];
    self.nameLabel.layer.borderWidth = 1;
    self.nameLabel.textAlignment = NSTextAlignmentCenter;
    self.nameLabel.textColor = [UIColor colorWithRed:50/255.0 green:170 /255.0 blue:190/255.0 alpha:1];
    self.nameLabel.layer.borderColor = [UIColor colorWithRed:50/255.0 green:170 /255.0 blue:190/255.0 alpha:1].CGColor;
    self.nameLabel.layer.cornerRadius = 15;
    [self.contentView addSubview:self.nameLabel];
    [self.nameLabel release];
    
}

@end
